Serialize<T> Method

Summary
Serializes the specified object to an xml file.
Syntax
C#
VB
C++
public static void Serialize<T>( 
   T obj, 
   string filename 
) 
  
Public Shared Sub Serialize(Of T)( _ 
   ByVal obj As T, _ 
   ByVal filename As String _ 
)  
public: 
static void Serializegeneric<typename T> 
(  
   _T^_ obj, 
   String^ filename 
)  

Parameters

obj
The object to serialize.

filename
The xml to store the serialized object.

Type Parameters

T
The type of object to serialize.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.